[INFO] cloning repository https://github.com/sammosampson/rust-mem-mapped-file
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sammosampson/rust-mem-mapped-file" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsammosampson%2Frust-mem-mapped-file", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsammosampson%2Frust-mem-mapped-file'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4555312126a6a516c56932e7675d7062ffc62907
[INFO] testing sammosampson/rust-mem-mapped-file against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsammosampson%2Frust-mem-mapped-file" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sammosampson/rust-mem-mapped-file
[INFO] finished tweaking git repo https://github.com/sammosampson/rust-mem-mapped-file
[INFO] tweaked toml for git repo https://github.com/sammosampson/rust-mem-mapped-file written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sammosampson/rust-mem-mapped-file on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sammosampson/rust-mem-mapped-file already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 69123da66c5e791faf145d7e1c2ba46e896c559499c41c95c111a42bc3dcf3d8
[INFO] running `Command { std: "docker" "start" "-a" "69123da66c5e791faf145d7e1c2ba46e896c559499c41c95c111a42bc3dcf3d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "69123da66c5e791faf145d7e1c2ba46e896c559499c41c95c111a42bc3dcf3d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "69123da66c5e791faf145d7e1c2ba46e896c559499c41c95c111a42bc3dcf3d8", kill_on_drop: false }`
[INFO] [stdout] 69123da66c5e791faf145d7e1c2ba46e896c559499c41c95c111a42bc3dcf3d8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fd8be45f6b4645afdd3adfbf9b1456ba4ac0e654707d9fd010ecde4d5b69c6fb
[INFO] running `Command { std: "docker" "start" "-a" "fd8be45f6b4645afdd3adfbf9b1456ba4ac0e654707d9fd010ecde4d5b69c6fb", kill_on_drop: false }`
[INFO] [stderr]    Compiling mem-mapped-file v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find module or crate `winapi` in this scope
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::{um::{
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `winapi::um::winnt::*`, `winapi::um::fileapi::*`, `winapi::um::handleapi::*`, `winapi::um::winbase::*`, `winapi::um::memoryapi::*`
[INFO] [stdout]   --> src/main.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  7 |     winnt::*,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]  8 |     fileapi::*,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]  9 |     handleapi::*,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 10 |     winbase::*,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 11 |     memoryapi::*
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `winapi` in this scope
[INFO] [stdout]   --> src/main.rs:51:19
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let err = winapi::um::errhandlingapi::GetLastError();
[INFO] [stdout]    |                   ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GENERIC_WRITE` in this scope
[INFO] [stdout]   --> src/main.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |             GENERIC_WRITE|GENERIC_READ, 
[INFO] [stdout]    |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GENERIC_READ` in this scope
[INFO] [stdout]   --> src/main.rs:26:27
[INFO] [stdout]    |
[INFO] [stdout] 26 |             GENERIC_WRITE|GENERIC_READ, 
[INFO] [stdout]    |                           ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_READ` in this scope
[INFO] [stdout]   --> src/main.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |             FILE_SHARE_READ | FILE_SHARE_WRITE, 
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope
[INFO] [stdout]   --> src/main.rs:27:31
[INFO] [stdout]    |
[INFO] [stdout] 27 |             FILE_SHARE_READ | FILE_SHARE_WRITE, 
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CREATE_ALWAYS` in this scope
[INFO] [stdout]   --> src/main.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |             CREATE_ALWAYS, 
[INFO] [stdout]    |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_ATTRIBUTE_NORMAL` in this scope
[INFO] [stdout]   --> src/main.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |             FILE_ATTRIBUTE_NORMAL, 
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope
[INFO] [stdout]   --> src/main.rs:34:27
[INFO] [stdout]    |
[INFO] [stdout] 34 |         if file_handle == INVALID_HANDLE_VALUE {
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope
[INFO] [stdout]   --> src/main.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |             PAGE_READWRITE, 
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_MAP_ALL_ACCESS` in this scope
[INFO] [stdout]   --> src/main.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 |             FILE_MAP_ALL_ACCESS,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileA` in this scope
[INFO] [stdout]   --> src/main.rs:24:27
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let file_handle = CreateFileA(
[INFO] [stdout]    |                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `LARGE_INTEGER` in this scope
[INFO] [stdout]   --> src/main.rs:38:28
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let mut max_size = LARGE_INTEGER::default();
[INFO] [stdout]    |                            ^^^^^^^^^^^^^ use of undeclared type `LARGE_INTEGER`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileMappingA` in this scope
[INFO] [stdout]   --> src/main.rs:42:26
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let memory_map = CreateFileMappingA(
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MapViewOfFile` in this scope
[INFO] [stdout]   --> src/main.rs:58:28
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let memory_block = MapViewOfFile(
[INFO] [stdout]    |                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mem-mapped-file` (bin "mem-mapped-file") due to 16 previous errors
[INFO] running `Command { std: "docker" "inspect" "fd8be45f6b4645afdd3adfbf9b1456ba4ac0e654707d9fd010ecde4d5b69c6fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd8be45f6b4645afdd3adfbf9b1456ba4ac0e654707d9fd010ecde4d5b69c6fb", kill_on_drop: false }`
[INFO] [stdout] fd8be45f6b4645afdd3adfbf9b1456ba4ac0e654707d9fd010ecde4d5b69c6fb
